package com.uubx.vo;

import com.sun.javafx.beans.IDProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.persistence.Column;
import javax.persistence.Id;
import java.math.BigDecimal;


@ApiModel(description = "Insurance列表")
public class InsuranceVo {

    @Id
    @ApiModelProperty(value = "保险id",hidden = true)
    private Long id;
    /**
     * 保险名字
     */
    @ApiModelProperty("保险名字")
    private String name;

    /**
     * 保险类型,0代表交强险,1代表商业险
     */
    @ApiModelProperty("保险类型,0代表交强险,1代表商业险,其余数字为空")
    private Integer type;
    /**
     * 保险购买价格
     */
    @ApiModelProperty("保险购买价格    ")
    private BigDecimal price;

    @ApiModelProperty("保险状态,1-正常，2-下架，3-删除")
    private Integer status;

    //开始序号
    @ApiModelProperty(value = "开始序号",required=true)
    private Integer startIndex;

    //分页大小
    @ApiModelProperty(value = "分页大小",required=true)
    private Integer pageSize;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public Integer getStartIndex() {
        return startIndex;
    }

    public void setStartIndex(Integer startIndex) {
        this.startIndex = startIndex;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }
}
